namespace ThaiThoa.Win.QLSX.DAL.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class _3 : DbMigration
    {
        public override void Up()
        {
            AddColumn("dbo.MayMoc", "DayChuyen_Id", c => c.Guid());
            AddForeignKey("dbo.MayMoc", "DayChuyen_Id", "dbo.DayChuyen", "Id");
            CreateIndex("dbo.MayMoc", "DayChuyen_Id");
        }
        
        public override void Down()
        {
            DropIndex("dbo.MayMoc", new[] { "DayChuyen_Id" });
            DropForeignKey("dbo.MayMoc", "DayChuyen_Id", "dbo.DayChuyen");
            DropColumn("dbo.MayMoc", "DayChuyen_Id");
        }
    }
}
